Package-level declarations

Types

Link copied to clipboard

This function displays a message dialog.

Link copied to clipboard
enum Pages : Enum<Pages>

Enum class representing different pages in the application with their respective indices.

Properties

Link copied to clipboard

Property to get the current time formatted as a string.

Link copied to clipboard

A constant script for sending a default message.

Link copied to clipboard

A constant empty string.

Link copied to clipboard
val LocalSocket: ProvidableCompositionLocal<Socket>

This is a composition local that provides the current socket connection.

Link copied to clipboard
val LocalWindowFrameScope: ProvidableCompositionLocal<FrameWindowScope>

This is a composition local that provides the current window frame scope.

Functions

Link copied to clipboard
@Composable
fun App(onMainApplicationClose: () -> Unit = {}, onMainApplicationMinimize: () -> Unit = {})

This is the main application layout. It sets up the socket connection, fetches devices and applications, and sets up the main layout.

Link copied to clipboard
@Composable
fun AppHomeContentWrapper(modifier: Modifier, pagerState: PagerState, partitionedApplications: MutableState<Pair<List<Application>, List<Application>>>, selectedDevice: Device = Device(), socket: Socket = LocalSocket.current, selectedApp: Application = Application(), onAppSelected: (Application) -> Unit = {})

This is the main application content wrapper. It sets up the main application content area.

Link copied to clipboard
fun LocalDateTime.currentDateTimeString(pattern: String = "hh:mm:ss"): String

Extension function to format a LocalDateTime object as a string.

Link copied to clipboard
@Composable
fun FrameWindowScope.FileDialog(title: String, isLoad: Boolean, onResult: (result: Path?) -> Unit)

This function displays a file dialog.

Link copied to clipboard
@Composable
fun FridaApp(onCloseRequest: () -> Unit = {})

This is the main application component. It sets up the socket connection and the window for the application.

Link copied to clipboard
fun main()

The main entry point for the application.

Link copied to clipboard
fun <T> SocketEvents.onEventFlow(socket: Socket, evaluation: (Any?) -> T): Flow<T>

Extension function to listen for a specific socket event and emit its data as a flow.

Link copied to clipboard
@Composable
fun ScriptInputDialog(initialScript: String = "", onDismissRequest: () -> Unit = {}, onConfirmation: (String) -> Unit = { _ -> })

This function displays a dialog to input a script.

Link copied to clipboard
@Composable
fun Modifier.setHorizontalGradient(colorStops: Array<Pair<Float, Color>> = arrayOf( 0.0f to Color(0xFF348F50), 1f to Color(0xFF56B4D3) )): Modifier

Extension function to apply a horizontal gradient background to a modifier.

Link copied to clipboard
@Composable
fun WindowScope.WindowDraggableArea(modifier: Modifier = Modifier, content: @Composable () -> Unit = {})

A composable function to create a draggable area in a window.

Link copied to clipboard
@Composable
fun WindowScope.YesNoCancelDialog(title: String, message: String, onResult: (result: AlertDialogResult) -> Unit)

This function displays a message dialog.